home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.sun.admin,comp.sys.unix,comp.lang.c
- Path: uu4news.netcom.com!zodiac!szh
- From: szh@zcon.com (Syed Zaeem Hosain)
- Subject: Re: Yet more GCC 2.7.2 problems (SunOS 4). Memmove is missing.
- Message-ID: <1996Jan29.052722.1299@zcon.com>
- Sender: szh@zcon.com (Syed Zaeem Hosain)
- Nntp-Posting-Host: zodiac
- Reply-To: szh@zcon.com
- Organization: Z Consulting Group
- References: <1996Jan27.072428.17415@zcon.com>
- Date: Mon, 29 Jan 1996 05:27:22 GMT
-
- In article <1996Jan27.072428.17415@zcon.com>, szh@zcon.com (Syed Zaeem Hosain) writes:
- >In article <310959EB.41C6@llnl.gov>, Sean Ahern <ahern@llnl.gov> writes:
- >>Just to let you know what OS I'm on, uname -a gives me this:
- >>SunOS spear.lln 4.1.3_U1 1 sun4c
- >>
- >>I've compiled and installed GCC 2.7.2 on this machine, but I've noticed that
- >>I'm missing something important. The memmove call is missing, it seems. I get
- >>unresolved references when I attempt to compile code that uses memmove.
- >>
- >> gcc -o foo foo.c -ldl
- >> ld: Undefined symbol
- >> _memmove
- >>
- >>Looking around the configuration for sun and the source code for gcc would lead
- >>me to believe that memmove should be in the libgcc.a libraries, but I can't
- >>seem to find it. I also can't seem to find anything mentioning this on the Web
- >>or in any FAQ.
- >>
- >>Does anyone know what I might be doing wrong here?
- >
- >Your question is answered in the FAQ. Please get it from rtfm.mit.edu
- >and look at question 13.24 and its answer (certainly the part that
- >begins with "Contrariwise, ...").
- >
- >Note that the arguments to the two functions described are slightly
- >different ... so write your "translator" macro carefully! :-)
-
- And, of course, I meant the comp.lang.c FAQ. This question was posted
- to more than one newsgroup and I failed to see that the first time I
- responded to it. Sorry about that!
-
- Z
-
-
- --
- -------------------------------------------------------------------------
- | Syed Zaeem Hosain P. O. Box 610097 (408) 441-7021 |
- | Z Consulting Group San Jose, CA 95161 szh@zcon.com |
- -------------------------------------------------------------------------
-